/**
The routing of this file will not show the layout.
It is an independent new page.
the contents of the file still need to log in to access
 */
import type { AppRouteModule } from '/@/router/types';

// test
// http:ip:port/main-out
export const mainOutRoutes: AppRouteModule[] = [
  // from2 表单后面的参数id

  {
    path: '/card/:id',
    name: 'card',
    component: () => import('/@/views/mes/card/form2.vue'),
    meta: {
      icon: 'ion:document-text-outline',
      title: '工艺参数表',
    },
  },
  {
    path: '/card/ls/:id/:code/:verNum/:ctype/:barCode',

    name: 'cardLs',
    component: () => import('/@/views/mes/card/ls/formLSView.vue'),
    meta: {
      icon: 'ion:document-text-outline',
      title: '拉手工艺参数表',
    },
  },
];

export const mainOutRouteNames = mainOutRoutes.map((item) => item.name);
